public class Main {
    public static void main(String[] args) {

        write your code here........
        long sum = 0;
        long base = 9;
        for(int i = 0;i10;i++){
            sum +=base;
            base = base10+9;
        }
        System.out.println(sum);
    }
}